<?php
/**
 * Created by PhpStorm.
 * User: WD-QD-PHP-DEV-YU
 * Date: 2017/4/27
 * Time: 14:40
 */
use yii\widgets\ActiveForm;
use yii\helpers\Html;
$this->title = '创建用户';
$this->params['breadcrumbs'][] = $this->title;
?>
<?php $from = ActiveForm::begin()?>

<div class="box-body">
    <div class="form-group">
        <?=$from->field($model,'username')?>
    </div>
    <div class="form-group">
        <?=$from->field($model,'password')->passwordInput()?>
    </div>
    <div class="form-group">
        <?=$from->field($model,'password_repeat')->passwordInput()?>
    </div>
    <div class="form-group">
        <?=$from->field($model,'email')?>
    </div>
    <div class="checkbox">
        <?=Html::submitButton('提交',['class'=>'btn btn-primary'])?>
    </div>
</div>
<?php ActiveForm::end()?>


